﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace DjangoRESTFrameworkDAL.Model
{
    public class LargeResultsSetPagination<T>
    {
        [JsonProperty("count")]
        public int Count { get; set; }

        [JsonProperty("num_pages")]
        public int NumPages { get; set; }

        [JsonProperty("per_page")]
        public int PerPage { get; set; }

        [JsonProperty("page")]
        public int Page { get; set; }

        [JsonProperty("previous_url")]
        public string PreviousUrl { get; set; }

        [JsonProperty("url")]
        public string Url { get; set; }

        [JsonProperty("next_url")]
        public string NextUrl { get; set; }

        [JsonProperty("results")]
        public List<T> Data { get; set; }
    }
}
